You need to have these installed before being able to build the OCLP:

Xcode or Xcode Command Line Tools on your host OS
Python 3.6 or newer
Download the OCLP 0.6.9 

Open terminal and type cd then drag the OpenCore-Legacy-Patcher-sonoma-development folder to the terminal then press enter.

Your prompt should look something like this:

user@users-Mac-Pro OpenCore-Legacy-Patcher-sonoma-development %

Type pip3 install -r requirements.txt and once the installation is done you can run the Build-Binary.command inside the OpenCore-Legacy-Patcher-sonoma-development folder to build the latest version of the OCLP

Once it’s done open: OpenCore-Patcher-GUI.command